Laravel eloquent mass assignments

39

use App\Models\Flight;

$flight = Flight::create([
    'name' => 'London to Paris',
]);

Comments

Submit
0 Comments